using UnityEngine;

/// <summary>
/// 机枪射手 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/GatlingData")]
public class GatlingData : ShooterData
{
    [Header("机枪特性")]
    [Tooltip("每次攻击连续发射的次数")]
    public int BurstCount = 4;
    
    [Tooltip("连续发射之间的间隔时间（秒）")]
    public float BurstInterval = 0.1f;

    private void OnEnable()
    {
        Type = PlantType.Gatling;
    }
}

